Bit Masking Explained With Examples